package cate.common.table.d;

public class GDFavorability {
    public enum ItemType{
        /** 随机 */
        RANDOM(1),
        /** 固定 */
        FIXED(2);

        public int type;
        ItemType(int type) {
            this.type =  type;
        }

        public static boolean isRandom(int type) {
            return type == RANDOM.type;
        }
    }

    public enum AttrMapping{
        PROP1(1),
        PROP2(2),
        PROP3(3);

        private int attrIndex;
        AttrMapping(int attrIndex) {
            this.attrIndex = attrIndex;
        }
        public int getAttrIndex() {
            return attrIndex;
        }
    }
}
